Skip to content

Conversation

heronet
Copy link
Contributor

@heronet heronet commented Oct 20, 2025

Add driver for HUB12 interface monochrome LED matrix displays.

Features:

  • 32x16 pixel resolution, 1-bit monochrome (PIXEL_FORMAT_MONO01)
  • SPI-based data transfer with shift registers
  • Configurable brightness control
  • Thread-safe framebuffer access with semaphore

The driver implements the standard Zephyr display API

@heronet heronet force-pushed the drivers/display/add-hub12-matrix branch from f1c8199 to a8f5a64 Compare October 20, 2025 14:13
@heronet heronet requested a review from maass-hamburg October 20, 2025 14:13
@heronet heronet requested a review from maass-hamburg October 21, 2025 00:20
@heronet heronet force-pushed the drivers/display/add-hub12-matrix branch from a8f5a64 to 83044fc Compare October 21, 2025 03:43
@heronet
Copy link
Contributor Author

heronet commented Oct 21, 2025

In the last force push, I added partial update to support LVGL and display-controller.yaml to the binding. LVGL reads height and width from the binding, apparently, instead of reading them from capabilities.

Edit: Also removed hardcoded dimensions and replaced them with bindings. For now it only supports single panel. But I will add support for chaining in the future.

@heronet
Copy link
Contributor Author

heronet commented Oct 22, 2025

Hi @JarmouniA
You reviewed a previous driver of mine. Care to take a look at this one when you get the time?

@heronet heronet force-pushed the drivers/display/add-hub12-matrix branch 2 times, most recently from a84c26e to 3a315fc Compare October 22, 2025 14:29
Add device tree binding for HUB12 interface monochrome LED matrix
displays (32x16 pixels).

The HUB12 interface uses SPI for data transfer to shift registers,
with additional GPIO pins for row address selection (PA, PB),
output enable (PE), and data latching (PLAT).

Signed-off-by: Siratul Islam <[email protected]>
Add driver for HUB12 interface monochrome LED matrix displays.

Features:
- 32x16 pixel resolution, 1-bit monochrome (PIXEL_FORMAT_MONO01)
- SPI-based data transfer with shift registers
- Configurable brightness control
- Thread-safe framebuffer access with semaphore

The driver implements the standard Zephyr display API

Signed-off-by: Siratul Islam <[email protected]>
@heronet heronet force-pushed the drivers/display/add-hub12-matrix branch from 3a315fc to fe4bfda Compare October 23, 2025 00:29
@heronet heronet requested review from JarmouniA and mbolivar October 23, 2025 00:32
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants